package cn.aifeix.org.domain;

import cn.aifeix.basic.domain.BaseDomain;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Employee extends BaseDomain {
    private String username;
    private String phone;
    private String email;
    private String salt;
    private String password;
    private Integer age;
    // 员工状态 1启用 0禁用
    private Integer state = 1;
    private Long departmentId;
    private Long logininfoId;
    private Long shopId;

    // 二次密码
    private String comfirmPassword;

    // 部门名称
    private String deptName;

    // 用户对应角色的id集合
    private List<Long> roles;

}
